
package org.amos.gen.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.amos.core.basic.annotation.MpQuery;
import org.amos.core.basic.base.BaseDTO;
import org.amos.core.basic.enums.SqlKeyWordEnum;

/**
 * 模板表达式说明
 *
 * @author CodeGenerator
 * @since 2021-01-19
 */
@Data
@Schema(name = "GenTemplateExplain对象", description = "模板表达式说明")
public class GenTemplateExplainDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @Schema(description = "父ID")
    private Long parentId;

    @Schema(description = "表达式")
    @MpQuery(column = "expression", keyword = SqlKeyWordEnum.LIKE)
    private String expression;

    @Schema(description = "描述")
    @MpQuery(column = "text", keyword = SqlKeyWordEnum.LIKE)
    private String text;

    private Integer type;


}
